package com.itheima.d6_abstract_temp;

public class Test {
    public static void main(String[] args) {
        People p1 =new Student();
        p1.write();

        People p2 =new Teacher();
        p2.write();
    }
}
